package com.boarsoft.boar.batch.entity;

import java.io.Serializable;

/**
 * 批量应用的静态监息，持久化到表，以便当实例未启动时，可以通过管控部署更新或拉起
 * 
 * @author Mac_J
 *
 */
public class BatchApp implements Serializable {

	private static final long serialVersionUID = -3869055803380432547L;

	public static final short STATUS_DISABLE = 0;
	public static final short STATUS_ENABLE = 1;

	/** IP:端口 */
	private String addr;
	/** 所属系统 */
	private String catalog;
	/** 系统内分组 */
	private String group;
	/** 状态 */
	private short status = STATUS_ENABLE;

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getCatalog() {
		return catalog;
	}

	public void setCatalog(String catalog) {
		this.catalog = catalog;
	}

	public String getGroup() {
		return group;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public short getStatus() {
		return status;
	}

	public void setStatus(short status) {
		this.status = status;
	}
}
